home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 1 / CU Amiga Magazine CD-ROM Special Edition (1995)(EMAP Images)(GB)[Issue 1995-11].iso / Aminet / comm / tcp / AmiTCPsdk_40.lha / AmiTCP-4.0 / netinclude / rpc / pmap_rmt.h < prev    next >
C/C++ Source or Header  |  1994-10-03  |  885b  |  38 lines

  1. #ifndef RPC_PMAP_RMT_H
  2. #define RPC_PMAP_RMT_H
  3. /*
  4.  * $Id: pmap_rmt.h,v 4.1 1994/09/26 08:09:11 jraja Exp jraja $
  5.  *
  6.  * Structures and XDR routines for parameters to and replies from
  7.  * the portmapper remote-call-service.
  8.  *
  9.  * Copyright © 1994 AmiTCP/IP Group,
  10.  *                  Network Solutions Development Inc.
  11.  *                  All rights reserved.
  12.  *
  13.  */
  14. /* @(#)pmap_rmt.h    2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */
  15.  
  16. /*
  17.  * Copyright (C) 1986, Sun Microsystems, Inc.
  18.  */
  19.  
  20. struct rmtcallargs {
  21.     u_long prog, vers, proc, arglen;
  22.     caddr_t args_ptr;
  23.     xdrproc_t xdr_args;
  24. };
  25.  
  26. extern bool_t XDRFUN xdr_rmtcall_args(XDR * xdrs, struct rmtcallargs * cap);
  27.  
  28. struct rmtcallres {
  29.     u_long *port_ptr;
  30.     u_long resultslen;
  31.     caddr_t results_ptr;
  32.     xdrproc_t xdr_results;
  33. };
  34.  
  35. extern bool_t XDRFUN xdr_rmtcallres(XDR * xdrs, register struct rmtcallres * crp);
  36.  
  37. #endif /* !RPC_PMAP_RMT_H */
  38.